<?php
function smarty_function_fckeditor($params, &$smarty){
	require_once('c:/apachefriends/xampp/htdocs/ops/FCKeditor/fckeditor.php');
	$editor = new fckeditor($params['name']);
	$editor->BasePath = '../../FCKeditor/';
	$editor->Height = '400';
	$editor->Width = '650';
	$editor->Value = $params['value'];
	$output = $editor->CreateHtml();

	return $output;
}
?>
